package com.xiyu.service.enums.fee.category;

import com.xiyu.service.enums.elder.register.ElderVisitStatusEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import java.util.Arrays;
import com.xiyu.service.enums.common.IntArrayValuable;

/**
* 费用类别类型
*/
@Getter
@AllArgsConstructor
public enum FeeCategoryTypeEnum implements IntArrayValuable {

    /**
    * 预充值费用
    */
    RECHARGE(1, "预充值费用"),
    /**
    * 押金
    */
    DEPOSIT(2, "押金");

    private final Integer value;

    private final String label;

    public static final int[] VALUES = Arrays.stream(values()).mapToInt(FeeCategoryTypeEnum::getValue).toArray();

    @Override
    public int[] getValues() { return VALUES;}

    public static final String[] LABELS = Arrays.stream(values()).map(FeeCategoryTypeEnum::getLabel).toArray(String[]::new);

    @Override
    public String[] getLabels() { return LABELS; }

}
